package com.chahu.mapper;

import com.chahu.entity.Order;
import org.apache.ibatis.annotations.Insert;

public interface PurchaseMapper {

    @Insert("insert into orders values(null, #{name}, #{address}, #{mail}, #{phone}, #{note}, #{payment}, #{delivery})")
    void insertOrder(Order order);
}
